
public class Bicycle {
    int gear,speed,cadence;
    public Bicycle(int startcadence, int startspeed, int startgear){
        cadence=startcadence;
        speed=startspeed;
        gear=startgear;
    }

    public void Speedup(){
       speed=speed+10;
    }
    public void Slowdown(){
        speed=speed-10;
    }
    public static void main(String[] args) {
        Bicycle mybike= new Bicycle(30,0,8);
        mybike.Speedup();
        mybike.Speedup();
        System.out.print(mybike.speed);
    }
}